<?php
namespace app\index\controller;

use think\Controller;
use think\Db;
class Common extends Controller{
	
	function _initialize(){
	    if(!SESSION('userid')){
			$this->error('请先登录',url('index/User/login'));
		}
	}	


	
}